package com.heima.user.service;

import com.heima.model.common.dtos.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * @author huan
 * @serial 每天一百行, 致敬未来的自己
 * @Description
 */

public interface ApExcelService {
    /**
     * 用户批量导入
     *
     * @param file
     * @return
     */
    ResponseResult bulkImport(MultipartFile file);

    /**
     * 下载未成功导入数据
     *
     * @param response
     * @param repetitionId
     * @return
     */
    void download(HttpServletResponse response, String repetitionId);
}
